home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950329-19950528
/
000129_news@columbia.edu_Thu Apr 13 14:26:45 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA22065
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Thu, 13 Apr 1995 22:56:04 -0400
Received: by apakabar.cc.columbia.edu id AA07388
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Thu, 13 Apr 1995 22:56:03 -0400
Newsgroups: comp.protocols.kermit.misc
Path: news.columbia.edu!panix!news.mathworks.com!uunet!in1.uu.net!news.nyc.pipeline.com!psinntp!maui!gcm.com!weiwen
From: weiwen@gcm.com (Wei-Wen Lee)
Subject: Kermit via filter
Message-Id: <1995Apr13.142645.24475@gcm.com>
Sender: usenet@gcm.com (Cnews Administrator)
Organization: Greenwich Capital Markets, Inc.
X-Newsreader: TIN [version 1.2 PL2]
Date: Thu, 13 Apr 1995 14:26:45 GMT
Lines: 44
Apparently-To: kermit.misc@watsun.cc.columbia.edu
Hi,
I am trying to run kermit from filter, using a this in
my .forward :
"|/vol/bin/filter -vo /tmp/filter.rr"
and my filter rule being :
if <cond> then execute kermit.sh
where kermit.sh is a shell wrapper for an expect script that calls
kermit.
I do a set host internet and then I try to connect. But, I get this
error :
Error opening /dev/tty
congm: No such device or address
If I run the script by hand, I have no problems, it is only when I try
to run the script executed from filter that I get this error.
Any help would be appreciated. Thanks.
<------------------------- Expect Script ------------------------->
#!/vol/bin/expect -f
spawn kermit
expect {*C-Kermit>*}
send "set host internet\r"
expect {*C-Kermit>*}
send "set file type binary\r"
expect {*C-Kermit>*}
send "set window-size 20\r"
expect {*C-Kermit>*}
send "connect\r"